﻿/******************************************************   
创建者: 梁家健
创建时间: 2017-04-01
修改:
修改时间: 
功能: 小品类深度
 ******************************************************/

using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using com.nm.Attributes;
using com.nm.library;

namespace PlanAPI.model
{
    public class PLShopMSaleTrendModel
    {
        /// <summary>
        /// 小品类深度实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-04-01
        public class CreatModel: NeceModel
        {
            [ParamDescription("审核人")]
            public string Checker { get; set; }
            [ParamDescription("允许使用")]
            public long? AllowUsed { get; set; }
            [ParamDescription("新增记录标记")]
            public long? AddFlag { get; set; }
            [ParamDescription("修改时间")]
            public DateTime? MofifyDTM { get; set; }
            [ParamDescription("读取时间")]
            public DateTime? LoadTime { get; set; }
            [ParamDescription("修改时间")]
            public DateTime? EtlDate { get; set; }
        }

        /// <summary>
        /// 小品类深度主要实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-04-01
        public class NeceModel
        {
            [ParamDescription("数据来源")]
            public string ExtrSource { get; set; } = UserInfo.UserExtrSource;

            [ParamDescription("公司代码")]
            public string CompanyID { get; set; } = UserInfo.UserCompanyId;
            [ParamDescription("年份")]
            public long? Yearv { get; set; }
            [ParamDescription("月份")]
            public long? Monthv { get; set; }
            [ParamDescription("零售分区")]
            public string ParentAreaID { get; set; }
            [ParamDescription("店铺ID")]
            public string ShopID { get; set; }
            [ParamDescription("店铺等级")]
            public string ShopLevel { get; set; }
            [ParamDescription("类别")]
            public string KindID { get; set; }
            [ParamDescription("系列")]
            public string SeriesID { get; set; }
            [ParamDescription("商品层")]
            public string MaterialProperty { get; set; }
            [ParamDescription("品类")]
            public string ModelID { get; set; }
            [ParamDescription("小品类")]
            public string ItemID { get; set; }
            [ParamDescription("生命周期销售总数")]
            public long? TotalSaleQty { get; set; }
            [ParamDescription("生命周期配货总数")]
            public long? TotalMoveQty { get; set; }
            [ParamDescription("生命周期售罄率")]
            public decimal? SaleRate { get; set; }
            [ParamDescription("配货深度")]
            public long? MoveDeepQty { get; set; }
            [ParamDescription("确认配货深度")]
            public long? CKMoveDeepQty { get; set; }
            [ParamDescription("审核状态")]
            public long? CheckState { get; set; }
            [ParamDescription("备注")]
            public string Remark { get; set; }
        }

        /// <summary>
        /// 小品类深度显示实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-04-01
        public class ListModel:NeceModel
        {
            [ParamDescription("零售分区")]
            public string ParentAreaName { get; set; }
            [ParamDescription("店铺")]
            public string ShopName { get; set; }
            [ParamDescription("店铺Code")]
            public string ShopCode { get; set; }
            [ParamDescription("类别")]
            public string KindName { get; set; }
            [ParamDescription("系列")]
            public string SeriesName { get; set; }
            [ParamDescription("品类")]
            public string ModelName { get; set; }
            [ParamDescription("小品类")]
            public string ItemName { get; set; }
        }

        /// <summary>
        /// 小品类深度修改实体
        /// </summary>
        /// Writer：梁家健
        /// Create Date：2017-04-01
        public class ModifyModel
        {
            public IList<NeceModel> list { get; set; }
        }
    }
}
